package com.jiyun.feign;



import com.jiyun.entity.day06.Menu;
import com.jiyun.vo.ResponseBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("day06-menu")
public interface MenuFeign {
    @RequestMapping("findByAll")
    public ResponseBean findPage(@RequestBody Menu menus);

    @RequestMapping("userMenu/userMenuAdd")
    public ResponseBean userMenuAdd(@RequestParam("id") Integer id);


}
